package com.guli.acl.service;

import com.guli.acl.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhaoZhenyu
 * @since 2022-10-06
 */
public interface RoleService extends IService<Role> {
    List<Role> selectRoleByUserId(String id);
    Map<String, Object> findRoleByUserId(String userId);
    void saveUserRoleRelationShip(String userId, String[] roleIds);
}
